package com.Hwadee.educms.service;

import com.Hwadee.educms.entity.CrmBanner;
import com.baomidou.mybatisplus.extension.service.IService;
import com.Hwadee.educms.entity.vo.BannerVo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 首页banner表 服务类
 * </p>
 *
 * @author 677
 * @since 2021-07-08
 */
@Service
public interface CrmBannerService extends IService<CrmBanner> {
    //查询所有banner
    List<CrmBanner> selectAllBanner();

    //添加banner
    void saveBanner(BannerVo bannerVo);

    //修改banner
    void updateBanner(BannerVo bannerVo);
}
